package com.scnu.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum TaskPriority {
    LOW(0,"low","低"),
    MEDIUM(1,"medium","中等"),
    HIGH(2,"high","高"),
    URGENT(3,"urgent","紧急");
    @EnumValue
    final Integer value;
    @JsonValue
    final String jsonValue;
    final String desc;


}